<html>
<head>
<title>Docs For Class Pike_Grid_Datasource_Columns</title>
<link rel="stylesheet" type="text/css" href="../../media/style.css">
</head>
<body>

<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
  <tr>
    <td class="header_top">Pike_Grid</td>
  </tr>
  <tr><td class="header_line"><img src="../../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
  <tr>
    <td class="header_menu">
        
                                                                                                                    
                                                                                          		  [ <a href="../../classtrees_Pike_Grid.html" class="menu">class tree: Pike_Grid</a> ]
		  [ <a href="../../elementindex_Pike_Grid.html" class="menu">index: Pike_Grid</a> ]
		  	    [ <a href="../../elementindex.html" class="menu">all elements</a> ]
    </td>
  </tr>
  <tr><td class="header_line"><img src="../../media/empty.png" width="1" height="1" border="0" alt=""  /></td></tr>
</table>

<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="200" class="menu">
      <b>Packages:</b><br />
              <a href="../../li_Pike.html">Pike</a><br />
              <a href="../../li_DoctrineExtensions-Paginate.html">DoctrineExtensions-Paginate</a><br />
              <a href="../../li_Pike_Application.html">Pike_Application</a><br />
              <a href="../../li_Pike_Doctrine.html">Pike_Doctrine</a><br />
              <a href="../../li_Pike_Grid.html">Pike_Grid</a><br />
              <a href="../../li_Pike_Reflection.html">Pike_Reflection</a><br />
              <a href="../../li_Pike_Session.html">Pike_Session</a><br />
              <a href="../../li_Pike_View.html">Pike_View</a><br />
            <br /><br />
                        <b>Files:</b><br />
      	  <div class="package">
			<a href="../../Pike_Grid/_Grid.php.html">		Grid.php
		</a><br>
	  </div><br />
	subpackage <b>Datasource</b><br>  <div class="package">
			<a href="../../Pike_Grid/Datasource/_Grid---Datasource---Abstract.php.html">		Abstract.php
		</a><br>
			<a href="../../Pike_Grid/Datasource/_Grid---Datasource---Columns.php.html">		Columns.php
		</a><br>
			<a href="../../Pike_Grid/Datasource/_Grid---Datasource---Doctrine---CountWalker.php.html">		CountWalker.php
		</a><br>
			<a href="../../Pike_Grid/Datasource/_Grid---Datasource---Doctrine.php.html">		Doctrine.php
		</a><br>
			<a href="../../Pike_Grid/Datasource/_Grid---Datasource---Interface.php.html">		Interface.php
		</a><br>
			<a href="../../Pike_Grid/Datasource/_Grid---Datasource---Doctrine---OrderByWalker.php.html">		OrderByWalker.php
		</a><br>
			<a href="../../Pike_Grid/Datasource/_Grid---Datasource---Doctrine---Paginate.php.html">		Paginate.php
		</a><br>
			<a href="../../Pike_Grid/Datasource/_Grid---Datasource---Doctrine---WhereLikeWalker.php.html">		WhereLikeWalker.php
		</a><br>
	  </div><br />
      
            <b>Interfaces:</b><br />
        <div class="package">
	Datasource<br />	    &nbsp;&nbsp;		<a href="../../Pike_Grid/Datasource/Pike_Grid_Datasource_Interface.html">Pike_Grid_Datasource_Interface</a><br />
	  </div>
      
            <b>Classes:</b><br />
        <div class="package">
	Datasource<br />	    &nbsp;&nbsp;		<a href="../../Pike_Grid/Datasource/Pike_Grid_Datasource_Abstract.html">Pike_Grid_Datasource_Abstract</a><br />
	    &nbsp;&nbsp;		<a href="../../Pike_Grid/Datasource/Pike_Grid_Datasource_Columns.html">Pike_Grid_Datasource_Columns</a><br />
	    &nbsp;&nbsp;		<a href="../../Pike_Grid/Datasource/Pike_Grid_Datasource_Doctrine.html">Pike_Grid_Datasource_Doctrine</a><br />
	    &nbsp;&nbsp;		<a href="../../Pike_Grid/Datasource/Pike_Grid_Datasource_Doctrine_CountWalker.html">Pike_Grid_Datasource_Doctrine_CountWalker</a><br />
	    &nbsp;&nbsp;		<a href="../../Pike_Grid/Datasource/Pike_Grid_Datasource_Doctrine_OrderByWalker.html">Pike_Grid_Datasource_Doctrine_OrderByWalker</a><br />
	    &nbsp;&nbsp;		<a href="../../Pike_Grid/Datasource/Pike_Grid_Datasource_Doctrine_Paginate.html">Pike_Grid_Datasource_Doctrine_Paginate</a><br />
	    &nbsp;&nbsp;		<a href="../../Pike_Grid/Datasource/Pike_Grid_Datasource_Doctrine_WhereLikeWalker.html">Pike_Grid_Datasource_Doctrine_WhereLikeWalker</a><br />
	  </div>
  <div class="package">
		    		<a href="../../Pike_Grid/Pike_Grid.html">Pike_Grid</a><br />
	  </div>
                </td>
    <td>
      <table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">

<h1>Class: Pike_Grid_Datasource_Columns</h1>
Source Location: /Grid/Datasource/Columns.php<br /><br />


<table width="100%" border="0">
<tr><td valign="top">

<h3><a href="#class_details">Class Overview</a></h3>
<pre>ArrayObject
   |
   --Pike_Grid_Datasource_Columns</pre><br />
<div class="description">The column class keeps in track of all column details (including dynamic ones)</div><br /><br />
<h4>Author(s):</h4>
<ul>
              </ul>




      
      

<h4>Copyright:</h4>
<ul>
  <li>Copyright (C) 2011 by Pieter Vogelaar (platinadesigns.nl) and Kees Schepers (keesschepers.nl)</li>
</ul>
        
</td>



<td valign="top">
<h3><a href="#class_methods">Methods</a></h3>
<ul>
    <li><a href="../../Pike_Grid/Datasource/Pike_Grid_Datasource_Columns.html#method__construct">__construct</a></li>
    <li><a href="../../Pike_Grid/Datasource/Pike_Grid_Datasource_Columns.html#methodadd">add</a></li>
    <li><a href="../../Pike_Grid/Datasource/Pike_Grid_Datasource_Columns.html#methodgetColumns">getColumns</a></li>
    <li><a href="../../Pike_Grid/Datasource/Pike_Grid_Datasource_Columns.html#methodgetIterator">getIterator</a></li>
    <li><a href="../../Pike_Grid/Datasource/Pike_Grid_Datasource_Columns.html#method__get">__get</a></li>
    <li><a href="../../Pike_Grid/Datasource/Pike_Grid_Datasource_Columns.html#method__isset">__isset</a></li>
  </ul>
</td>

</tr></table>
<hr />

<table width="100%" border="0"><tr>



<td valign="top">
<h3>Inherited Constants</h3>
<div class="tags">
<h4>Class: ArrayObject (Internal Class)</h4>
<dl>
<dt>
  ARRAY_AS_PROPS = 2
</dt>
<dd>
   
</dd>
<dt>
  STD_PROP_LIST = 1
</dt>
<dd>
   
</dd>
</dl>
</div>
</td>


<td valign="top">
<h3>Inherited Methods</h3>
<div class="tags">
<h4>Class: ArrayObject (Internal Class)</h4>
<dl>
    <dt>
    constructor __construct ( $array )
  </dt>
  <dd>
    
  </dd>
    <dt>
    append ( $value )
  </dt>
  <dd>
    
  </dd>
    <dt>
    asort (  )
  </dt>
  <dd>
    
  </dd>
    <dt>
    count (  )
  </dt>
  <dd>
    
  </dd>
    <dt>
    exchangeArray ( $array )
  </dt>
  <dd>
    
  </dd>
    <dt>
    getArrayCopy (  )
  </dt>
  <dd>
    
  </dd>
    <dt>
    getFlags (  )
  </dt>
  <dd>
    
  </dd>
    <dt>
    getIterator (  )
  </dt>
  <dd>
    
  </dd>
    <dt>
    getIteratorClass (  )
  </dt>
  <dd>
    
  </dd>
    <dt>
    ksort (  )
  </dt>
  <dd>
    
  </dd>
    <dt>
    natcasesort (  )
  </dt>
  <dd>
    
  </dd>
    <dt>
    natsort (  )
  </dt>
  <dd>
    
  </dd>
    <dt>
    offsetExists ( $index )
  </dt>
  <dd>
    
  </dd>
    <dt>
    offsetGet ( $index )
  </dt>
  <dd>
    
  </dd>
    <dt>
    offsetSet ( $index, $newval )
  </dt>
  <dd>
    
  </dd>
    <dt>
    offsetUnset ( $index )
  </dt>
  <dd>
    
  </dd>
    <dt>
    serialize (  )
  </dt>
  <dd>
    
  </dd>
    <dt>
    setFlags ( $flags )
  </dt>
  <dd>
    
  </dd>
    <dt>
    setIteratorClass ( $iteratorClass )
  </dt>
  <dd>
    
  </dd>
    <dt>
    uasort ( $cmp_function )
  </dt>
  <dd>
    
  </dd>
    <dt>
    uksort ( $cmp_function )
  </dt>
  <dd>
    
  </dd>
    <dt>
    unserialize ( $serialized )
  </dt>
  <dd>
    
  </dd>
  </dl>
</div>
</td>

</tr></table>
<hr />

<a name="class_details"></a>
<h3>Class Details</h3>
<div class="tags">
[line <a href="../../__filesource/fsource_Pike_Grid_Datasource_GridDatasourceColumns.php.html#a39">39</a>]<br />
The column class keeps in track of all column details (including dynamic ones)<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>copyright:</b>&nbsp;&nbsp;</td><td>Copyright (C) 2011 by Pieter Vogelaar (platinadesigns.nl) and Kees Schepers (keesschepers.nl)</td>
  </tr>
  <tr>
    <td><b>license:</b>&nbsp;&nbsp;</td><td>MIT</td>
  </tr>
</table>
</div>
</div><br /><br />
<div class="top">[ <a href="#top">Top</a> ]</div><br />


<hr />
<a name="class_methods"></a>
<h3>Class Methods</h3>
<div class="tags">

  <hr />
	<a name="method__construct"></a>
	<h3>constructor __construct <span class="smalllinenumber">[line <a href="../../__filesource/fsource_Pike_Grid_Datasource_GridDatasourceColumns.php.html#a42">42</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>Pike_Grid_Datasource_Columns __construct(
[
$columns = array()])</code>
    </td></tr></table>
    </td></tr></table><br />
	
		<br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	Overrides ArrayObject::constructor __construct ( $array ) (parent method not documented)<br /><br />
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">array&nbsp;&nbsp;</td>
        <td><b>$columns</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodadd"></a>
	<h3>method add <span class="smalllinenumber">[line <a href="../../__filesource/fsource_Pike_Grid_Datasource_GridDatasourceColumns.php.html#a58">58</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>void add(
mixed
$column, [string
$label = null], [string
$sidx = null], [integer
$position = null], [
$data = null])</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Adds a column to the internal index.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">mixed&nbsp;&nbsp;</td>
        <td><b>$column</b>&nbsp;&nbsp;</td>
        <td>Either the name or an array with options</td>
      </tr>
          <tr>
        <td class="type">string&nbsp;&nbsp;</td>
        <td><b>$label</b>&nbsp;&nbsp;</td>
        <td>The friendlyname used for this column as heading</td>
      </tr>
          <tr>
        <td class="type">string&nbsp;&nbsp;</td>
        <td><b>$sidx</b>&nbsp;&nbsp;</td>
        <td>The fieldname to be used when sorting is isseud thru the grid</td>
      </tr>
          <tr>
        <td class="type">integer&nbsp;&nbsp;</td>
        <td><b>$position</b>&nbsp;&nbsp;</td>
        <td>The position number, can be any number.</td>
      </tr>
          <tr>
        <td class="type">&nbsp;&nbsp;</td>
        <td><b>$data</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodgetColumns"></a>
	<h3>method getColumns <span class="smalllinenumber">[line <a href="../../__filesource/fsource_Pike_Grid_Datasource_GridDatasourceColumns.php.html#a138">138</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>array getColumns(
)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		<br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="methodgetIterator"></a>
	<h3>method getIterator <span class="smalllinenumber">[line <a href="../../__filesource/fsource_Pike_Grid_Datasource_GridDatasourceColumns.php.html#a120">120</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>ArrayIterator getIterator(
)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Sort items quickly before the iterator is given back as we expect to<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	Overrides ArrayObject::getIterator (  ) (parent method not documented)<br /><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="method__get"></a>
	<h3>method __get <span class="smalllinenumber">[line <a href="../../__filesource/fsource_Pike_Grid_Datasource_GridDatasourceColumns.php.html#a105">105</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>array __get(
string
$column)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		Retrieve a column like it's an object property.<br /><br /><br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">string&nbsp;&nbsp;</td>
        <td><b>$column</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
  <hr />
	<a name="method__isset"></a>
	<h3>method __isset <span class="smalllinenumber">[line <a href="../../__filesource/fsource_Pike_Grid_Datasource_GridDatasourceColumns.php.html#a93">93</a>]</span></h3>
	<div class="function">
    <table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
    <table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
		<code>boolean __isset(
string
$name)</code>
    </td></tr></table>
    </td></tr></table><br />
	
		<br /><br />
<h4>Tags:</h4>
<div class="tags">
<table border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><b>access:</b>&nbsp;&nbsp;</td><td>public</td>
  </tr>
</table>
</div>
<br /><br />

	
        <h4>Parameters:</h4>
    <div class="tags">
    <table border="0" cellspacing="0" cellpadding="0">
          <tr>
        <td class="type">string&nbsp;&nbsp;</td>
        <td><b>$name</b>&nbsp;&nbsp;</td>
        <td></td>
      </tr>
        </table>
    </div><br />
        <div class="top">[ <a href="#top">Top</a> ]</div>
  </div>
</div><br />


        <div class="credit">
		    <hr />
		    Documentation generated on Thu, 15 Sep 2011 16:24:47 +0200 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.3</a>
	      </div>
      </td></tr></table>
    </td>
  </tr>
</table>

</body>
</html>